package model;

/**
 * 
 * @author Ceren BOZKURT
 * @author Duygu AYAN
 * @author Pelin OZTURK
 */
public class Hotel {

	// Attributes
	private String hotelName;
	private String quality;
	private String location;
	private int noOfRooms;
	private int hotelPrice;

	// Note: Search Criteria are LOCATION, QUALITY and PRICE

	// CONSTRUCTORS
	public Hotel(String hotelName, String location, String quality,
			int noOfRooms, int hotelPrice) {
		super();
		this.hotelName = hotelName;
		this.location = location;
		this.quality = quality;
		this.noOfRooms = noOfRooms;
		this.hotelPrice = hotelPrice;
	}

	public Hotel() {
		super();
	}

	public Hotel(String location, String quality, int hotelPrice) {
		super();
		this.location = location;
		this.quality = quality;
		this.hotelPrice = hotelPrice;
	}

	// GETTERS SETTERS
	public String getHotelName() {
		return hotelName;
	}
	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}
	public String getQuality() {
		return quality;
	}
	public void setQuality(String quality) {
		this.quality = quality;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public int getNoOfRooms() {
		return noOfRooms;
	}
	public void setNoOfRooms(int noOfRooms) {
		this.noOfRooms = noOfRooms;
	}
	public int getHotelPrice() {
		return hotelPrice;
	}
	public void setHotelPrice(int price) {
		this.hotelPrice = price;
	}

	@Override
	public String toString() {
		return (hotelName + " " + location);
	}

}
